package com.onehouse.domain.payment.service;

import java.math.BigDecimal;

public interface IPaymentRequestService {

    public void handleOrderPaymentPostEvent(String orderId, BigDecimal amount);

    public void handleMethodPaymentPaidOffEvent(String paymentId);    //如cash、aliPay等

    public boolean validateOrderPaymentIsPaidOff(String orderId);

    public String getCashPaymentRequiredInfo(String orderId);

    public void terminateOrderPaymentRequest(String orderId, String reason);

    public BigDecimal handleCashPaymentPostEvent(String orderId, BigDecimal amount); // 现金支付的处理逻辑

    public boolean validateMethodPaymentIsPaidOff(String paymentId); // 验证某种支付方式的支付单的是否被支付了逻辑

}
